(function() {
    window.isProd = !/test|10|192|localhost/ig.test(location.host)

    window.$toLogin = function () {
      localStorage.clear()
      sessionStorage.clear()
      location.replace('/fei/login.html')
    }

    window.SETING = {
      PROJECT_NAME: "",
      TENANT_ID: "",
      EXT_TENANT_ID: "",
      BASE_URL: isProd ? 'https://www.toolers.cn' : '',
      // FILE_URL: isProd ? 'https://oss.syounggroup.com' : 'https://testoss.syounggroup.com'
    }
  })()